<div class="records view">
    <h2 class="left"><?php __('Historial'); ?></h2>
<!--    <div class="actions specific">
        <ul>
            <li><?php echo $this->Html->link(__('Editar Historial', true), array('action' => 'edit', $record['Record']['id'])); ?> </li>
            <li><?php echo $this->Html->link(__('Eliminar Historial', true), array('action' => 'delete', $record['Record']['id']), null, sprintf(__('Esta seguro que desea eliminar # %s?', true), $record['Record']['id'])); ?> </li>
        </ul>
    </div>-->
    <br />
    <br />
    <br />
    <dl><?php $i = 0;
$class = ' class="altrow"'; ?>
        <dt<?php if ($i % 2 == 0)
            echo $class; ?>><?php __('Id'); ?></dt>
        <dd<?php if ($i++ % 2 == 0)
                echo $class; ?>>
                <?php echo $record['Record']['id']; ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0)
                    echo $class; ?>><?php __('Fecha inicio'); ?></dt>
        <dd<?php if ($i++ % 2 == 0)
                echo $class; ?>>
                <?php
                $fi = date('d/m/Y', strtotime($record['Record']['start_date']));
                echo $fi;
                ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0)
                    echo $class; ?>><?php __('Fecha Fin'); ?></dt>
        <dd<?php if ($i++ % 2 == 0)
                echo $class; ?>>
                <?php
                $ff = date('d/m/Y', strtotime($record['Record']['end_date']));
                echo $ff;
                ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0)
                    echo $class; ?>><?php __('Cliente'); ?></dt>
        <dd<?php if ($i++ % 2 == 0)
                echo $class; ?>>
                <?php echo $this->Html->link($record['Client']['last_name'] . ' ' . $record['Client']['first_name'], array('controller' => 'clients', 'action' => 'view', $record['Client']['id'])); ?>
            &nbsp;
        </dd>
        <dt<?php if ($i % 2 == 0)
                    echo $class; ?>><?php __('Auto'); ?></dt>
        <dd<?php if ($i++ % 2 == 0)
                echo $class; ?>>
                <?php echo $record['Car']['letter'] . ' ' . $record['Car']['number']; ?>
            &nbsp;
        </dd>
    </dl>
</div>
